{% extends "base.html" %}



{% block title %}Backend Version{% endblock %}

{% block extrahead %}

<style type="text/css">

table {
    border-collapse: collapse
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid black;
}

.fixed {
    white-space: nowrap;
}

</style>

{% endblock %}

{% block navbar_items %}
<li><a href="{% url 'version' %}">Backend Version</a></li>
{% endblock %}

{% block sidebar_items %}{% endblock %}

{% block page_title %}Backend Version{% endblock %}

{% block page_body %}
<p>
The RMG-website provides an interface for accessing useful functions in RMG-Py and RMG-database.
</p>

<p>
Git repositories for these projects can be found at the 
<a href="https://github.com/ReactionMechanismGenerator" target="_blank">Reaction Mechanism Generator</a> Github.
</p>

<p>
The current Git commits on which the website is operating are as follows:

<table width="70%">
    <tr>
        <th>Repository</th>
        <th>Commit</th>
        <th class="fixed">Date</th>
    </tr>
    <tr>
        <td><a href="https://github.com/ReactionMechanismGenerator/RMG-Py" target="_blank">RMG-Py</a></td>
        <td>{{ pc }}<br><b>{{ ps }}</b><br>{{ pb|linebreaksbr }}</td>
        <td class="fixed">{{ pd }}</td>
    </tr>
    <tr>
        <td><a href="https://github.com/ReactionMechanismGenerator/RMG-database" target="_blank">RMG-database</a></td>
        <td>{{ dc }}<br><b>{{ ds }}</b><br>{{ db|linebreaksbr }}</td>
        <td class="fixed">{{ dd }}</td>
    </tr>
    <tr>
        <td><a href="https://github.com/ReactionMechanismGenerator/RMG-website" target="_blank">RMG-website</a></td>
        <td>{{ wc }}<br><b>{{ ws }}</b><br>{{ wb|linebreaksbr }}</td>
        <td class="fixed">{{ wd }}</td>
    </tr>
</table>

</p>


{% endblock %}
